From 3b44a88ddb9143436336d247847128bcec339c70 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Timm=20B=C3=A4der?= Date: Sat, 22 Jul 2017 09:22:56 +0200 Subject: [PATCH] cssstylechange: Fix change printing Only print the old value once, above the new one. --- gtk/gtkcssstylechange.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/gtk/gtkcssstylechange.c b/gtk/gtkcssstylechange.c index 400dfe8418..00a6802144 100644 --- a/gtk/gtkcssstylechange.c +++ b/gtk/gtkcssstylechange.c @@ -129,10 +129,8 @@ gtk_css_style_change_print (GtkCssStyleChange *change, prop = _gtk_css_style_property_lookup_by_id (i); name = _gtk_style_property_get_name (GTK_STYLE_PROPERTY (prop)); - value = gtk_css_style_get_value (old, i); - _gtk_css_value_print (value, string); - g_string_append_printf (string, "%s: ", name); + value = gtk_css_style_get_value (old, i); _gtk_css_value_print (value, string); g_string_append (string, "\n"); -- 2.30.2